import pygame
import g

class screen():
    def __init__(self):
        self.screen = pygame.display.set_mode((0,0) , pygame.FULLSCREEN)
        #self.screen = pygame.display.set_mode((1000,1000))
        g.SCREEN_SIZE = (pygame.display.Info().current_w,pygame.display.Info().current_h)

        g.screen = self.screen

    def drawrect(self, x, y, w, h, color = (255,0,0)):
        self.screen.fill(color, pygame.Rect(int(x),int(y),w,h))

    def flip(self):
        pygame.display.flip()
